package com.tarena.demo.luban.all.main.mapper;

import com.tarena.demo.luban.protocol.order.dos.OrderDO;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper {

    @Insert("insert into order_tbl(order_sn,user_id,product_code,count,total_money) values(#{orderSn},#{userId},#{productCode},#{count},#{totalMoney})")
    int addOrder(OrderDO orderDO);
}
